from packages.common.base_model import db, BaseModel


class RoleMenu(BaseModel):
    """
    r_角色菜单关系模型
    """
    __tablename__ = "sys_role_menu"
    __table_args__ = ({"comment": "r_角色菜单关系", "extend_existing": True})
    roleId = db.Column(db.BigInteger, name="role_id", unique=False, nullable=True, comment="角色ID")
    menuId = db.Column(db.BigInteger, name="menu_id", unique=False, nullable=True, comment="菜单ID")
    createTime = None
    createUser = None
    updateTime = None
    updateUser = None
    isDeleted = None
